rails 4 boilerplate login