Fixed owner checks and logins.