defined select_where function for user controller
removed profile function from outsider controller