Remove unneccessary parameter on login and sign up function.