Added registration, login and logout routines. Backend and frontend parts. Included encryption mechanism from www.variations-of-shadow.com