Made basic changes to make jpa functional: Note: 
1. amend your password in persistence.xml
2. change the tb_user in mysql as follows:
drop table tb_user;
create table tb_user(id int(11) key auto_increment);
Small class name change
Got populate table class working
Cleaned up code, added populate access_cabilities
Merge branch 'Otis'