Implemented user details submission to DB