Starting onclick framework for log in.