added control for displaying user status