working login before template
bootstrap added for login/register, sync from mac 9/27/2014 1