Added login and migrations