New gh auth

final version of user login after resolving all merge conflicts.