Functionality for user registration and account modification added, support for sessions and 'remember me' functionality.