display login form function; include calls to actions in form function