update to local login and added dependancies