changes to login and generic forms