System for login and registration