general controller actions created for all controllers