added db functions, sign-up still not working :(