added functionality for dashboard and gravatar