Login edited to register users which nickname does not exist in db