Added login after registration