add basic functionality for login to dashboard