Another commit!

split the loginviewexample into two classes: loginform and loginview