upadate frontend to include consumption of auth cookie; change method name for user session handling middleware attached to users controller; change user role from string to numeric