add login animation, need refactor