constraints somewhat set for login