login functionality and admin layout done.