added login and landing page functionality