Save user in db at connection