Login working

Add login and sample view for the Register. Add QueryExecutor to deal
with database communication.