front end refactored
authentication working
bug fixed