Finished working login system - depending on how you define 'working'.