Added login functionality. Added setup script to generate initial DB records.