Created redirect if user visits new page while not logged in, added rspec test