Added functionality for user switching dropdown menu