Added primitive functions for user details

Added primitive functions.