Get user record from db to create auth session This function is overridable from the custom helpers/auth_helper.php
int
$id
User ID
mixed