Login script working. Need to try and get it to save status so that the user does not have to log in every time