adding layout and user registration/login