Tests for logging in done. Logic also completed