improved login for project