updated dependencies
added last login functionality