more edits to login system