Form login based on http://codepen.io/ScottMarshall/pen/ytiLC