Created depency in apartment model and added
before action authenticate user except index and show
made sure all controllers and paths are working correctly
added gem
fixing merge conflicts