changed auth extraction method
layout rearrangement
finished authentication frame work (more or less)