Enables user login based on ip address