Updated a function.

Gets user info.