added rails login