create loginattempts and loggedin vars