added simple e2e test
updated login and registration api calls at UI