implemented manager and log in view