Authentication system, may or may not need more work on the security