Working Login

Added View Controller with PreView support (to run script before the
header)