[RP,SE]{test after code} - I04 refactored error managament, created tests for login system