signup/user related functions to its own controller