More login and out stuff plus a profile start