Invariants and Lie algebraic solutions of Schroedinger equation