login fixed

fixed a problem with the login authentication now working on makeing it
so that you only have to authenticate once hopefully
may skip this and do in next release