fixed some bugs & improved login process