add a few basic functions for signup page including dismissing keyboard and basic ui design