implemented form authentication and made dashboard page with login
component