Added functionality for hide and show user information