login/logout functional. TODO: special characters in category name not being recognized, problem most likely with regex used