Login and success pages: Rails structure implemented