Adding all user api functionality