Fixing PHP notices in the login forms