Added functions for user actions