Added ip logging upon user login