Added a simple login back-end