changed method to get user with role when rails env development