Once use authentication is success, you will get a sessionId too in User object. You can use session service and set a flag in the session attribute after login (See this) against that sessionId.
If you want to check user is already logged in or not you can check it from session service using getAttribute method (See this)
Make sure you call logout method on user service once use is logged out/close the app so that he can login from other device.