Login redirect to last page, removed unused method in application_controller