[eluser]sv3tli0[/eluser]
You can add field inside the user table called: Session_id

And on each login to update it with the current user sessionId..
After that you have only to check if session id match for current user
This will allow users to access from only 1 device at the same time.
There can be problem if user have PC,tablet, smartphone,notebook and he want to access your site all the time..
In this case you can create 1 table user_sessions where to store user_id and session id and to allow for example max 5 log-ins at the same time.. (removing oldest when user use more devices then your limit)