signup now works with database