created login layout, helper method to choose layout and redirect root rout to login screen if not logged in