Changed login to record actions
Tweaked messages for duplicate username check