Fixes #5: Create actions for account

Implemented testing for login action

Minor fix for better usage of POST variables

Added login form and functionality + error handling

Added registration form

Small fix on API test calls