Remove unneccessary query in users controller