sign up function added and new controllers