Allows editing of preferences and fixes login and home redirection bugs.
Added editing of preferences and fixed issues with login redirection