fixed user to connect to database