implement partial to dry up sign-up and log-in forms