Add better_errors and binding_of_caller gems
Fix condition in authorized_user? method