Refactored registration and login. Changed password encryption methodology to php55 native handlers using framework library for password encryption.