Sending a message to validate user to log in

This has to be wrong - I'm sending a focus change from the server, while the app should trigger a focus change when the user is validated. Hmmm.