User::GetUserByUsername() now also handles FALSE as a result, changed database error function