Login button onClick function working.