Updated login-function and added BOOLEAN to RequestEnum