still making large changes. Login function lightly working.