added a part of the front end data validation
added backend register validation (completed)
added properly password protection via encryption
refactoring
added login functionality
added logout functionality and fixed minor security issue
refactoring