Added more user functionality and admin features.