Implementation of a basic login system (issue #2).