updating to allow adding user via manage
adding in login functionality as well as flashed messages