Create
a Login module which will log users in and also we can able to create a new
user, if the same login is attempted from another machine while the session is
in progress, there should be a message that "This User has already logged
in from <ip address> and this is not allowed".