Creating main layout and user authentication with devise