Modified database functions, signup page now works