Added Login Checks