Base log-in mechanism (without registering users)